package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Classname AddAddressRequest
 * @Description TODO
 * @Date 2022/4/19 15:10
 * @Created by sunhao
 */
@ApiModel(value = "添加详细地址对象",description = "添加详细地址对象")
@Data
public class AddAddressRequest {

  /**
   * 是否默认收货地址：0->否；1->是
   */
  @ApiModelProperty(value = "是否默认收货地址 0->否；1->是",example = "1")
  @JsonProperty("default_status")
  private Integer defaultStatus;

  /**
   * 收发货人姓名
   */
  @ApiModelProperty(value = "receive_name",example = "孙浩")
  @JsonProperty("receive_name")
  private String receiveName;

  /**
   * 收货人电话
   */
  @ApiModelProperty(value = "收货人电话",example = "18317890354")
  private String phone;

  /**
   * 省/直辖市
   */
  @ApiModelProperty(value = "省/直辖市",example = "河南省")
  private String province;

  /**
   * 市
   */
  @ApiModelProperty(value = "市",example = "郑州市")
  private String city;

  /**
   * 区
   */
  @ApiModelProperty(value = "区",example = "管城回族区")
  private String region;

  /**
   * 详细地址
   */
  @ApiModelProperty(value = "详细地址",example = "详细地址")
  @JsonProperty("detail_address")
  private String detailAddress;
}
